package com.uzai.console.dto.dingding;

import com.aliyun.dingtalkservice_group_1_0.models.SendServiceGroupMessageRequest;

import java.util.List;

public class DingExclusiveGroupMessageDto {


    private String targetOpenConversationId;   //开放群ID。
    private String title;//标题
    private String content;//消息内容。
    private Boolean isAtAll;//是否@全部
    private List<String> atMobiles;//被@人的手机号列表。
    private List<String> atDingtalkIds;//被@人的dingtalkId列表。
    private List<String> atUnionIds;//被@人的unionId列表。
    private List<String> receiverMobiles;//手机号接收者列表。
    private List<String> receiverDingtalkIds;//dingtalkId接收者列表。
    private List<String> receiverUnionIds;//unionId接收者列表。
    private String messageType;//消息类型，取值。MARKDOWN：markdown消息 ACTIONCARD：卡片消息
    private String btnOrientation;//排列方式。0：按钮竖直排列 1：按钮横向排列
    private List<SendServiceGroupMessageRequest.SendServiceGroupMessageRequestBtns> btns; //actionCard按钮
    private Boolean hasContentLinks;  //消息内容是否含有链接。 false：当btns只有1个按钮，移动端点击消息卡片的任意内容将只会跳转到按钮的链接。 true：无论btns多少，内容中的链接与按钮链接互不影响。

    private String accessToken;

    public String getTargetOpenConversationId() {
        return targetOpenConversationId;
    }

    public void setTargetOpenConversationId(String targetOpenConversationId) {
        this.targetOpenConversationId = targetOpenConversationId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getAtAll() {
        return isAtAll;
    }

    public void setAtAll(Boolean atAll) {
        isAtAll = atAll;
    }

    public List<String> getAtMobiles() {
        return atMobiles;
    }

    public void setAtMobiles(List<String> atMobiles) {
        this.atMobiles = atMobiles;
    }

    public List<String> getAtDingtalkIds() {
        return atDingtalkIds;
    }

    public void setAtDingtalkIds(List<String> atDingtalkIds) {
        this.atDingtalkIds = atDingtalkIds;
    }

    public List<String> getAtUnionIds() {
        return atUnionIds;
    }

    public void setAtUnionIds(List<String> atUnionIds) {
        this.atUnionIds = atUnionIds;
    }

    public List<String> getReceiverMobiles() {
        return receiverMobiles;
    }

    public void setReceiverMobiles(List<String> receiverMobiles) {
        this.receiverMobiles = receiverMobiles;
    }

    public List<String> getReceiverDingtalkIds() {
        return receiverDingtalkIds;
    }

    public void setReceiverDingtalkIds(List<String> receiverDingtalkIds) {
        this.receiverDingtalkIds = receiverDingtalkIds;
    }

    public List<String> getReceiverUnionIds() {
        return receiverUnionIds;
    }

    public void setReceiverUnionIds(List<String> receiverUnionIds) {
        this.receiverUnionIds = receiverUnionIds;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getBtnOrientation() {
        return btnOrientation;
    }

    public void setBtnOrientation(String btnOrientation) {
        this.btnOrientation = btnOrientation;
    }

    public List<SendServiceGroupMessageRequest.SendServiceGroupMessageRequestBtns> getBtns() {
        return btns;
    }

    public void setBtns(List<SendServiceGroupMessageRequest.SendServiceGroupMessageRequestBtns> btns) {
        this.btns = btns;
    }

    public Boolean getHasContentLinks() {
        return hasContentLinks;
    }

    public void setHasContentLinks(Boolean hasContentLinks) {
        this.hasContentLinks = hasContentLinks;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    @Override
    public String toString() {
        return "DingExclusiveGroupMessageDto{" +
                "targetOpenConversationId='" + targetOpenConversationId + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", isAtAll=" + isAtAll +
                ", atMobiles=" + atMobiles +
                ", atDingtalkIds=" + atDingtalkIds +
                ", atUnionIds=" + atUnionIds +
                ", receiverMobiles=" + receiverMobiles +
                ", receiverDingtalkIds=" + receiverDingtalkIds +
                ", receiverUnionIds=" + receiverUnionIds +
                ", messageType='" + messageType + '\'' +
                ", btnOrientation='" + btnOrientation + '\'' +
                ", btns=" + btns +
                ", hasContentLinks=" + hasContentLinks +
                ", accessToken='" + accessToken + '\'' +
                '}';
    }
}
